Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) in /htdocs/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-product-shipping-classes-v2-controller.php on line 1

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 65536 bytes) in /htdocs/wp-includes/class-wp-fatal-error-handler.php on line 43